package com.gsbelarus.gedemin.lib.ui.activity.drawer.adapter.table;

import android.graphics.drawable.Drawable;
import android.view.View;

public class DrawerProfile {

    private String text;
    private String summary;
    private Drawable profileImage;
    private Drawable background;

    private OnClickProfileInfoListener onClickProfileInfoListener;
    private OnClickProfileImageListener onClickProfileImageListener;

    public String getText() {
        return text;
    }

    public DrawerProfile setText(String text) {
        this.text = text;
        return this;
    }

    public String getSummary() {
        return summary;
    }

    public DrawerProfile setSummary(String summary) {
        this.summary = summary;
        return this;
    }

    public Drawable getProfileImage() {
        return profileImage;
    }

    public DrawerProfile setProfileImage(Drawable profileImage) {
        this.profileImage = profileImage;
        return this;
    }

    public Drawable getBackground() {
        return background;
    }

    public DrawerProfile setBackground(Drawable background) {
        this.background = background;
        return this;
    }

    public OnClickProfileInfoListener getOnClickProfileInfoListener() {
        return onClickProfileInfoListener;
    }

    public DrawerProfile setOnClickProfileInfoListener(OnClickProfileInfoListener onClickProfileInfoListener) {
        this.onClickProfileInfoListener = onClickProfileInfoListener;
        return this;
    }

    public OnClickProfileImageListener getOnClickProfileImageListener() {
        return onClickProfileImageListener;
    }

    public DrawerProfile setOnClickProfileImageListener(OnClickProfileImageListener onClickProfileImageListener) {
        this.onClickProfileImageListener = onClickProfileImageListener;
        return this;
    }

    public interface OnClickProfileInfoListener extends View.OnClickListener {

        @Override
        void onClick(View v);
    }

    public interface OnClickProfileImageListener extends View.OnClickListener {

        @Override
        void onClick(View v);
    }
}
